/**
 * This is the test of BigTwoCard Class
 *
 * @author Jiang Feiyu (3035770800)
 */
public class BigTwoCardTester {
    public static void main(String[] args){
        System.out.println();

        // Creating Big Two Cards
        BigTwoCard _3d = new BigTwoCard(0,2);
        BigTwoCard _Kh = new BigTwoCard(2,12);
        BigTwoCard _Ac = new BigTwoCard(1,0);
        BigTwoCard _2s = new BigTwoCard(3,1);

        System.out.println("-------------------------");
        System.out.println(
                "Is 3d stronger than 2s (expect: -1)? " +
                _3d.compareTo(_2s)
        );
        System.out.println("-------------------------");
        System.out.println(
                "Is 3d stronger than 3d (expect: 0)? " +
                        _3d.compareTo(_3d)
        );
        System.out.println("-------------------------");
        System.out.println(
                "Is Ac stronger than Kh (expect: 1)? " +
                        _Ac.compareTo(_Kh)
        );
        System.out.println("-------------------------");
        System.out.println(
                "Is Kc stronger than Ac (expect: -1)? " +
                        _3d.compareTo(_Ac)
        );
    }
}
